//
//  BodiLabel.m
//  UI02_HomeWork_01
//
//  Created by Bodi on 16/6/6.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "BodiLabel.h"

@implementation BodiLabel

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
-(instancetype)initWithFrame:(CGRect)frame withName:(NSString *)name{
    self = [super initWithFrame:frame];
    if (self) {
        self.font = [UIFont systemFontOfSize:18.0f];
        self.text = name;
        self.enabled =YES;
    }
    return self;

}

@end
